import { getImageUrl } from "./util.tsx";

const person = {
	name: 'Jane',
	age: 21,
	location: {
		city: 'New York',
		country: 'USA'
	}
}
const Person = (  )=> {
	return (
		<div>
			<h1>{person.name}</h1>
			<p>Age: {person.age}</p>
			<p>Location: {person.location.city}, {person.location.country}</p>
			<img src={getImageUrl(person)} alt={person.name}/>
		</div>
	);
}
export default Person;